﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace awsomeSyntezator.PipeLine.Envelopes
{
    class FadeIn : Envelope
    {
        public FadeIn(float _strengh) : base(_strengh)
        {

        }
        public override double getSample(int n, double sample)
        {
            return sample * (Math.Atan(n * Options.step * strengh));
        }
    }
}
